import api from './http.js'
// 获取首页

export const getlist=()=>api.get('/frontpage')

// 获取天气
// export const getweather=(data)=>api.get(`/weather?query=${data}`)
export const getweather=(data)=>api.get('/weather',data)


// 获取疫情数据
export const getpandemic=(data)=>api.get('/epidemic',data)

// 登录接口
export const  getlogin=(data)=>api.post('/wx_login',data)

// 预约疫苗时段接口 GET /newapptime 
export const getvaccinum=()=>api.get('/newapptime')



